import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询派工信息
export const queryplantHourAdjust = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/plantHourAdjust/queryplantHourAdjust`, { params });
// 完工调整查询
export const queryRepairAssignDetail = roNo => axios.get(`${SERVER.DMSCLOUD_REPAIR}/plantHourAdjust/queryRepairAssignDetail/${roNo}`, {});
// 修改實際工時保存
export const svaeRoAssignItem = params => axios.post(`${SERVER.DMSCLOUD_REPAIR}/plantHourAdjust/svaeRoAssignItem`, params);
// 服务顾问，技师，客服专员
export const getServicer = role => axios.get(`/api/sysManage/basedata/users/getUserListByRole${role}`, {});
